{# вывод директорий и папок #}
{% load i18n %}
{% load fm_media %}
<div id="pwd"><b>{% trans "You are here:" %}</b> {{ pwd }}</div>


{% for file in objlist %}
<div class="wit browse-file-box-details " name="file row" title="{{ file.name }}" id="">
<div style="position: relative;overflow:hidden;">
    <div class="details-check">
      {#<img alt="" src="/static/images/icons/icon_spacer.gif" class="checkbox sprite s_checkbox">#}
      <input type="checkbox" name="drink" value="rad2">
      
    </div>
    <div class="details-icon">
      <a href="" name="file icon">
        <img class="sprite s_page_white_word link-img" alt="" style="vertical-align: bottom; border: 0pt none;" src="{{ fileman_media_url }}img/{% if file.isdir %}treefolder.png{% else %}file.gif{% endif %}">
      </a>
    </div>
    <div class="details-filename">
      {% if file.isdir %}
      <a href="#" onclick="return load_directory('{% url ajax_ls_path file.path %}')" name="file name">{{ file.name }}</a>
      {% else %}
         {{ file.name }}
      {% endif %}
    </div>
    <div class="details-size">{{ file.size|filesizeformat }}</div>
    <div class="details-modified">{{ file.modifed|date:"d.m.Y  H:i" }}</div>
    <div href="#" class="dropdown-arrow" style="visibility: hidden;">
      <img alt="" width="9" height="9" src="{{ fileman_media_url }}img/dropdown.png">
    </div>
</div>
</div>
{% endfor %}
